﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OService1.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class CatController : ControllerBase
    {
        [Route("GetList")]
        [HttpGet]
        public string GetList()
        {
            return $"get list success! This is from {HttpContext.Request.Host.Value}, path: {HttpContext.Request.Path}";
        }
    }
}
